<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>게시판 - 리스트</title>
    <link rel="stylesheet" type="text/css" href="../css/style.css">   
</head>
<body>
	<!-- 게시판 컨테이너 시작 -->
	<div class="board_container">
		<ul style="height: 662px;">
			<li>
				<ul class="board_tab" style="display: block;">
					
					<!-- 게시판 제목 시작 -->
					<li class="board_name">
						<h4>게시판</h4>
					</li>
					<!-- 게시판 제목 끝 -->
					
					<!-- 게시판 테이블 시작 -->
					<li class="board_table">
						<table>
							<thead class="board_thead">
								<tr>
									<th class="table_head1">번호</th>
									<th class="table_head2">작성자</th>
									<th class="table_head3">제목</th>
									<th class="table_head4">등록일</th>
									<th class="table_head5">조회수</th>
								</tr>
							</thead>
							<tbody>
								<c:forEach var="article" items="${articles }">
								<tr class="mouse_over">
									<td>${article.num }</td>
									<td>${article.name }</td>
									<td class="table_content"><a href="view?num=${article.num}">${article.subject }</a></td>
									<td>${article.regdate }</td>
									<td>${article.readcount }</td>
								</tr>
								</c:forEach>
								<!-- <tr class="mouse_over">
									<td>5</td>
									<td>이재범</td>
									<td class="table_content"><a href="boardView.html">테스트 게시판</a></td>
									<td>2014-02-04</td>
									<td>747</td>
								</tr> -->
							</tbody>
						</table>
					</li>
					<!-- 게시판 테이플 끝 -->
					
					<!-- 게시판 숫자 시작 -->
					<li class="board_number">
						<a href="">1</a>
						<a href="">2</a>
						<a href="">3</a>
						<a href="">4</a>
					</li>
					<!-- 게시판 숫자 끝 -->
					
					<!-- 게시판 검색 시작 -->
					<li class="board_search">
						<ul>
							<li class="search_select">
								<span class="select_box" style="border: 1px solid rgb(204, 204, 204); background-position: 135px 50%;">
									<span class="selected_text">이름 + 내용</span>
									<select>
										<option>이름 + 내용</option>
										<option>이름</option>
										<option>내용</option>
									</select>
								</span>
							</li>
							<li class="search_input"><input type="text" size=50/></li>
							<li class="search_btn"><a href="" class="button h26 w70 gray"><b>검색</b></a></li>
							<li class="write_btn"><a href="write" class="button h26 w70 orange"><b>글쓰기</b></a></li>
						</ul>
					</li>
					<!-- 게시판 검색 끝 -->
				</ul>
			</li>
		</ul>
	</div>
	<!-- 게시판 컨테이너 끝 -->
</body>
</html>